package com.example.service;

import java.util.List;

import com.example.model.Country;
import com.example.model.query.CountryExample;
import com.example.service.CountryService;

/**
 * Created on 2017/12/26 18:50
 */
public interface CountryService {


    Country selectByPrimaryKey(Short id);

    List<Country> selectByExample(CountryExample q);


    Object insert(Country t);

	Object insertSelective(Country t);


    Object updateByPrimaryKey(Country t);

	Object updateByPrimaryKeySelective(Country t);

	Object updateByExample(Country t, CountryExample q);

	Object updateByExampleSelective(Country t, CountryExample q);

	Long countByExample(CountryExample q);


    Integer deleteByPrimaryKey(Short id);

	Integer deleteByExample(CountryExample q);

}
